<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/strict.dtd">
<html><head>
<title>dllist</title>
</head><body>
<p>[<a href="mxdoc.htm">mainpage</a>]
[<a href="tags.htm">tags</a>]<br>
<h1><a name="dllist">module: dllist</a></h1><p><b>Double linked list structure handling macros.</b><p>

This module conatins some convenience macros for handling double
linked list structures.  
(<a href="../include/deds/dllist.h">../include/deds/dllist.h</a>)<p>Part of the <a href="deds.htm">deds</a> library.<ul><li>
<a name="define MX_DLLIST(type)"><code>#define MX_DLLIST(type)</code></a>
<p>
<p><b>Double linked list</b><p>
This macro declares a double linked list structure.  The list
surrounding type can then be manipulated by the other mx_dllist_* and 
MX_DLLIST_* macros.  The type should be initialized with all zeros.  
(<a href="../include/deds/dllist.h">../include/deds/dllist.h</a>)<p></li>
<li>
<a name="define MX_DLLIST_ELEM(type)"><code>#define MX_DLLIST_ELEM(type)</code></a>
<p>
<p><b>Elements for a double linked list</b><p>
This macro declares elements for a double linked list structure.
This delcaration must be included in a struct with an appropriate type.  The
surrounding type can then be manipulated by the other mx_dllist_* and 
MX_DLLIST_* macros.  The surrounding type should be initialized with all 
zeros.  
(<a href="../include/deds/dllist.h">../include/deds/dllist.h</a>)<p></li>
<li>
<a name="define MX_DLLIST_NODE(type,list)"><code>#define MX_DLLIST_NODE(type,list)</code></a>
<p>
<p><b>Elements for a double linked list node</b><p>
This macro declares elements for a double linked list node
structure.  This delcaration must be included in a struct with an appropriate 
type.  The surrounding type can then be manipulated by the other mx_dllist_* 
and MX_DLLIST_* macros.  The surrounding type should be initialized with all
zeros.  
(<a href="../include/deds/dllist.h">../include/deds/dllist.h</a>)<p></li>
<li>
<a name="define MX_DLLIST_APPEND(o,p)"><code>#define MX_DLLIST_APPEND(o,p)</code></a>
<p>
<p><b>Insert a double linked element into a double linked list</b><p>
The inserted element is placed at the end of the list.  
(<a href="../include/deds/dllist.h">../include/deds/dllist.h</a>)<p></li>
<li>
<a name="define MX_DLLIST_PREPEND(o,p)"><code>#define MX_DLLIST_PREPEND(o,p)</code></a>
<p>
<p><b>Insert a double linked element into a double linked list</b><p>
The inserted element is placed at the beginning of the list.  
(<a href="../include/deds/dllist.h">../include/deds/dllist.h</a>)<p></li>
<li>
<a name="define MX_DLLIST_REMOVE(o)"><code>#define MX_DLLIST_REMOVE(o)</code></a>
<p>
<p><b>Remove a double linked list element from its list  </b><p>
(<a href="../include/deds/dllist.h">../include/deds/dllist.h</a>)<p></li>
<li>
<a name="define mx_dllist_first(o)"><code>#define mx_dllist_first(o)</code></a>
<p>
<p><b>First element of a double linked list.  </b><p>
(<a href="../include/deds/dllist.h">../include/deds/dllist.h</a>)<p></li>
<li>
<a name="define mx_dllist_last(o)"><code>#define mx_dllist_last(o)</code></a>
<p>
<p><b>Last element of a double linked list.  </b><p>
(<a href="../include/deds/dllist.h">../include/deds/dllist.h</a>)<p></li>
<li>
<a name="define mx_dllist_next(o)"><code>#define mx_dllist_next(o)</code></a>
<p>
<p><b>Next element in the double linked list. </b><p>
(<a href="../include/deds/dllist.h">../include/deds/dllist.h</a>)<p></li>
<li>
<a name="define mx_dllist_prev(o)"><code>#define mx_dllist_prev(o)</code></a>
<p>
<p><b>Previous element in the double linked list. </b><p>
(<a href="../include/deds/dllist.h">../include/deds/dllist.h</a>)<p></li>
<li>
<a name="define mx_dllist_list(o)"><code>#define mx_dllist_list(o)</code></a>
<p>
<p><b>List that an element is contained in.  </b><p>
(<a href="../include/deds/dllist.h">../include/deds/dllist.h</a>)<p></li>
</ul><p>Generated by <a href="http://www.deleveld.dds.nl/mxdoc/index.htm">MXDOC</a> 2.2 on Sun Feb  4 15:16:26 2007


</body></html>
